from django.contrib import admin
from django.urls import path, include
from django.conf.urls import url
from .views import *

urlpatterns = [
    path('view_medicine/',view_medicine),
    path('add_med/', add_med),
    path('do_add_med/', add_new_medicine),
    path('change_medicine/<int:id>/',change_medicine),
    path('do_change_medicine/',do_change_medicine),
    path('delete_medicine/<int:id>/',delete_medicine),

    path('',view_stock),
    path('do_view_stock/',do_view_stock),
    path('add_stock/',add_stock),
    path('do_add_stock/', do_add_stock),
    path('change_stock/<int:id>/', change_stock),
    path('do_change_stock/', do_change_stock),
    path('delete_stock/<int:id>/', delete_stock),
    path('quick_delete/',quick_delete),
]